package com.javafactroy.kunlong.framework.generalthread;

import com.javafactroy.kunlong.client.feign.dto.ApiResult;
import com.javafactroy.kunlong.framework.generalthread.base.TGeneralData;
import com.javafactroy.kunlong.framework.generalthread.iface.IgeneralRunner;
import lombok.Data;
import java.util.List;

@Data
public
class TGeneralDataRunner<T> extends TGeneralData<T> implements IgeneralRunner<T> {

    @Override
    public ApiResult<List<T>> exec(List<T> data) {
        return ApiResult.success(data);
    }

    @Override
    public TGeneralData<T> getData() {
        return this;
    }


}
